package com.tchintech.pay.view.activity;

import android.view.View;

import com.tchintech.pay.R;
import com.tchintech.pay.delegate.BreakTrafficDeleagte;
import com.tchintech.pay.frame.presenter.ActivityPresenter;

/**
 * Created by Administrator on 2017/8/22 0022.
 * 违章查询
 */

public class BreakTrafficActivity extends ActivityPresenter<BreakTrafficDeleagte> implements View.OnClickListener {
    @Override
    protected void initView() {
        super.initView();
        viewDelegate.setTv_title("违章查询");
        viewDelegate.setOnClickListener(this, R.id.iv_back);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.iv_back:
                finish();
                break;
        }


    }

    @Override
    protected Class<BreakTrafficDeleagte> getDelegateClass() {
        return BreakTrafficDeleagte.class;
    }
}
